<template>
  <div>
    <div style="float: left;width: 250px;height: 400px;border-right: 2px solid red;">
      左边内容：
      <br><br>
      <router-link to="/page1">page1</router-link>
      <br><br>
      <router-link to="/page2">page2</router-link>
    </div>
    <div style="float: left;width: 400px;height: 400px;margin-left: 10px;">
      右边内容：<br>
      <!--在这里路由页面-->
      <router-view/>
    </div>
  </div>
</template>

<script>
  export default {
    name: "main"
  }
</script>

<style scoped>

</style>
